#ifndef POINTS_CONTROLLER_H
#define POINTS_CONTROLLER_H

#include <QtWidgets/QMainWindow>

#include "PointsModel.h"
#include "PointsView.h"

/// <summary>
/// Kontroler widoku wyswietlajacego dane z wykresu
/// </summary>
class PointsController : public QObject
{
	Q_OBJECT

public:
	PointsController(void);
	~PointsController(void);
	void SetModel(PointsModel* model);

public slots:
	void updatePoints(const QPolygonF);

private:
	PointsModel* _model;

signals:
	void displayPoints();
};

#endif

